]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
Use the GNOME 3 WM theme by default
authorWilliam Jon McCann <jmccann@redhat.com>
Sun, 31 Oct 2010 15:51:36 +0000 (11:51 -0400)
committerWilliam Jon McCann <jmccann@redhat.com>
Sun, 31 Oct 2010 15:58:44 +0000 (11:58 -0400)
Set up an override to specify the metacity window decoration
theme.  Use the GNOME 3 standard theme as the default.

data/gnome-shell.schemas
src/gnome-shell-plugin.c

index 5798a3edb4daa13d14c986362bfbb59001f4107e..1a887118aca606f1def776fe94633721c68e22b7 100644 (file)
         </locale>
       </schema>
 
+      <schema>
+        <key>/schemas/desktop/gnome/shell/windows/theme</key>
+        <applyto>/desktop/gnome/shell/windows/theme</applyto>
+        <owner>gnome-shell</owner>
+        <type>string</type>
+        <default>Adwaita</default>
+        <locale name="C">
+          <short>Current theme</short>
+          <long>
+            The theme determines the appearance of window borders,
+            titlebar, and so forth.
+
+            This key overrides /apps/metacity/general/theme when
+            running GNOME Shell.
+          </long>
+        </locale>
+      </schema>
+
   </schemalist>
 </gconfschemafile>
index f672778408b9656f246ac84a958214ebcf870470..0a3959df424df3ff098f0a0e28042d2226022fde 100644 (file)
@@ -161,6 +161,8 @@ gnome_shell_plugin_init (GnomeShellPlugin *shell_plugin)
                                            "/desktop/gnome/shell/windows/button_layout");
   meta_prefs_override_preference_location ("/apps/metacity/general/side_by_side_tiling",
                                            "/desktop/gnome/shell/windows/side_by_side_tiling");
+  meta_prefs_override_preference_location ("/apps/metacity/general/theme",
+                                           "/desktop/gnome/shell/windows/theme");
 }
 
 static void